﻿@model MC.RideEvent.Mvc.Models.Entity.Way

@{
    ViewBag.Title = "WayDetail";
}

<h2>WayDetail</h2>

<fieldset>
    <legend>WayModel</legend>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.DriverId)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DriverId)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.EventId)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.EventId)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Contribution)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Contribution)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.MeetingHour)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.MeetingHour)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.MeetingPlace)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.MeetingPlace)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.NumberPlaces)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.NumberPlaces)
    </div>

    @*<div class="display-label">
         @Html.DisplayNameFor(model => model.City)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.City)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.NamePlace)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.NamePlace)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.DateEvent)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DateEvent)
    </div>*@
    
    <div class="display-label">
         @Html.DisplayName("Conducteur")
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.User.FirstName)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Back to List", "Index")
</p>
